/**
 * Copyright(c): 2017 com.mjduan All rights reserved.
 * 项目名：learn-spring-web
 * 注意：未经作者允许，不得外传
 */
package com.mjduan.project.web;

import javax.servlet.http.HttpSessionEvent;
import javax.servlet.http.HttpSessionListener;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author dmj1161859184@126.com 2018-08-19 04:09
 * @version 1.0
 * @since 1.0
 */
public class HttpSessionListenerImpl implements HttpSessionListener {
    private static final Logger LOGGER = LoggerFactory.getLogger(HttpSessionListenerImpl.class);
    
    @Override
    public void sessionCreated(HttpSessionEvent se) {
        LOGGER.info("session创建触发");
    }

    @Override
    public void sessionDestroyed(HttpSessionEvent se) {
        LOGGER.info("session销毁触发");
    }
}
